<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true"   layout="table" action="scoreManuRuleController.do?doUpdate" tiptype="3" >
  		<input type="hidden" name="id" value="${rule.id}" />
		<table style="" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							规则名称:
						</label>
					</td>
					<td class="value">
					    <input id="title" name="title" type="text" style="width: 150px" 
					    	class="inputxt" maxlength="80" datatype="*" value="${rule.title}">
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">规则名称</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							扣除分数:
						</label>
					</td>
					<td class="value">
					    <input id="score" name="score" maxlength="5" type="text" style="width: 150px" value="${rule.score}"
					    	class="inputxt"  datatype="*">
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">分数</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							详细内容:
						</label>
					</td>
					<td class="value">
					    <textarea id="content" name="content" type="text" style="width: 150px;height:80px" class="inputxt" maxlength="255" >${rule.content}</textarea>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							备注:
						</label>
					</td>
					<td class="value">
					    <textarea id="remark" name="remark" type="text" style="width: 100%;height:100px" class="inputxt" maxlength="4000" >${rule.remark}</textarea>
					</td>
				</tr>
			</table>
		</t:formvalid>
		<script>
			$(document).ready(function(){
				moneyValidate('score');
			});
		</script>
 </body>
